/**
 * This file is part of iSecurePasswords.
 *
 *   iSecurePasswords is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   iSecurePasswords is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with iSecurePasswords.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * Author: Matthew MacGregor
 * Created: 2012
 * iSecurePasswords, copyright 2013 Sudolink, LLC
 * 
 */ 

package com.sudolink.cryptodata;

/**
 * The CryptInfoBundle class encapsulates data that is necessary for the encryption 
 * or decryption of data, making it easier to pass this data to the methods that
 * need it.
 * @author matsu
 */
public class CryptInfoBundle {
    
    public CryptInfoBundle() {
        
    }
    
    public CryptInfoBundle( byte[] pw, byte[] salt ){
        this.password = pw;
        this.salt = salt;
    
    }
    
   

    /**
     * @return the password
     */
    public byte[] getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(byte[] password) {
        this.password = password;
    }

    /**
     * @return the salt
     */
    public byte[] getSalt() {
        return salt;
    }

    /**
     * @param salt the salt to set
     */
    public void setSalt(byte[] salt) {
        this.salt = salt;
    }


    
    
    /* 
     * Private data members.
     */
    private byte[] password;
    private byte[] salt;
//    private boolean isEncrypt = true;
}
